package de.kardass.jannobatch.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import de.kardass.jannobatch.ItemReader;
import de.kardass.jannobatch.ItemWriter;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface BatchJob {

	String id();
	
	String name() default "";

	Class<? extends ItemReader<?>> reader() default NullItemReader.class;
	
	BatchStep[] steps() default {};

	Class<? extends ItemWriter<?>> writer() default NullItemWriter.class;
	
	BatchException[] exceptions() default {};


}
